package com.jingwu.example.service;

import com.jingwu.example.repository.ActivityRepository;
import com.jingwu.example.repository.DummyRepository;
import com.jingwu.example.repository.FakeRepository;
import com.jingwu.example.repository.MockRepository;
import com.jingwu.example.repository.UserRepository;
import javax.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.util.Assert;

/**
 * @author 菁芜
 * @since 2021/11/23 - 16:36
 */
@Service
@Slf4j
public class OtherService {

    @Resource
    UserRepository userRepository;
    @Resource
    DummyRepository dummyRepository;
    @Resource
    MockRepository mockRepository;

    public void doSomething() {
        Assert.notNull(userRepository);
        Assert.notNull(dummyRepository);
        Assert.notNull(mockRepository);
        log.info("do something....");
    }


}
